package com.wuseguang.springcloud.mina.changYing;

public class AiSendMsgDataModle {

    /**
     * 回复相机的数据类型:
     * 0-登录;
     * 1-心跳;
     * 2-json类型数据;
     * 3-二进制数据类型，平台传文件到相机；
     * 4-二进制数据类型，下发获取相机文件;
     * 5-二进制数据类型，下发获取相机文件(文件较大)
     */
    private Integer type;
    private Integer randId;
    private String sendMsg;
    private byte[] sendByte;
    /**
     * 取文件时的标记字符
     */
    private String sign;

    public AiSendMsgDataModle() {
    }

    @Override
    public String toString() {
        return "AiSendMsgDataModle{" +
                "type=" + type +
                ", randId=" + randId +
                ", sendMsg='" + sendMsg + '\'' +
                '}';
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getRandId() {
        return randId;
    }

    public void setRandId(Integer randId) {
        this.randId = randId;
    }

    public String getSendMsg() {
        return sendMsg;
    }

    public void setSendMsg(String sendMsg) {
        this.sendMsg = sendMsg;
    }

    public byte[] getSendByte() {
        return sendByte;
    }

    public void setSendByte(byte[] sendByte) {
        this.sendByte = sendByte;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }
}
